package com.wkbb.sports.service;

import com.github.pagehelper.PageInfo;
import com.wkbb.sports.dto.HlifeTeachCourseDto;
import com.wkbb.sports.dto.PhysicalAnalysisDto;
import com.wkbb.sports.dto.StuCourseDetailDto;
import com.wkbb.sports.dto.StuCourseDto;
import com.wkbb.sports.model.HlifeTeachCourse;
import com.wkbb.sports.model.HlifeTeachCourseAttend;

import java.util.List;
import java.util.Map;

public interface CourseService {

    HlifeTeachCourseDto putCourse(HlifeTeachCourse course);

    boolean studentsAttend(Long courseId,List<HlifeTeachCourseAttend> attends);

    HlifeTeachCourseDto findCourse(HlifeTeachCourse hlifeTeachCourse);

    boolean putCourseSummary(Long courseId, String summary);

    Map<String, Object> getTeacherStatistics(Long orgId, Long teacherId,int projectKind);

    PhysicalAnalysisDto getTeacherPhysicalAnalysis(Long orgId, Long classId);

    PageInfo<StuCourseDto> getStuCoursePageList(Map<String, Object> map, int pageNo, int pageSize) throws Exception ;

    StuCourseDetailDto getStuCourse(Map<String, Object> map) throws Exception ;

}
